Problem Note 59161: PROC HPSPLIT score-code results might be incorrect when CLASS variable values are not all uppercase
In the SAS® High-Performance Statistics HPSPLIT procedure, the CODE FILE=filename statement converts the final tree into SAS DATA step code that can be used for scoring. However, the generated code might not be correct. If you score new data using the score code, then the scored values might also be incorrect. Incorrect code is generated when the following conditions are true:
- Your HPSPLIT procedure code includes a CLASS statement.
- You do not specify the UPCASE option in the CLASS statement.
- Your CLASS variable values are not all uppercase (some values are lower or mixed-case).
There are no errors or warnings to indicate a problem.
To avoid the problem, specify the UPCASE option after a slash ('/') in the CLASS statement.
Example:
proc hpsplit data=sashelp.cars; class enginesize model / upcase; model enginesize = mpg_highway model; run;
Note: the problem occurs only when you use the CLASS and MODEL statements. The problem does not occur when you use TARGET and INPUT statements.
Operating System and Release Information
SAS System | SAS High-Performance Statistics | z/OS | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
z/OS 64-bit | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft® Windows® for x64 | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows 8 Enterprise 32-bit | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows 8 Enterprise x64 | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows 8 Pro 32-bit | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows 8 Pro x64 | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows 8.1 Enterprise 32-bit | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows 8.1 Enterprise x64 | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows 8.1 Pro 32-bit | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows 8.1 Pro x64 | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows 10 | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows Server 2008 | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows Server 2008 R2 | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows Server 2008 for x64 | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows Server 2012 Datacenter | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows Server 2012 R2 Datacenter | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows Server 2012 R2 Std | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows Server 2012 Std | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Windows 7 Enterprise 32 bit | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Windows 7 Enterprise x64 | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Windows 7 Home Premium 32 bit | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Windows 7 Home Premium x64 | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Windows 7 Professional 32 bit | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Windows 7 Professional x64 | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Windows 7 Ultimate 32 bit | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Windows 7 Ultimate x64 | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
64-bit Enabled AIX | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
64-bit Enabled Solaris | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
HP-UX IPF | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Linux for x64 | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
Solaris for x64 | 14.1 | 14.2 | 9.4 TS1M3 | 9.4 TS1M4 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2020-11-18 10:51:15 |
Date Created: | 2016-10-14 08:57:20 |